﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WatiN.Core;

namespace Insurance_Quotation_App
{
    public static class WatiNExtensions
    {
        public static void SetText(this TextField textField, string text)
        {
            textField.SetAttributeValue("value", text);
        }

        public static void SetText(this SelectList selectList, string text)
        {
            selectList.SetAttributeValue("value", text);
        }

        public static void SetValue(this RadioButton radioButton, string text)
        {
            radioButton.SetAttributeValue("value", text);
        }
    }
}
